﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QualityRpt.Dao;
using System.Data;

namespace QualityRpt.Service
{
    public class UserService:BaseService
    {
        private static IUserDao _impDao = null;
        static UserService()
        {
            _impDao = CreateDaoInstance("IUserDao") as IUserDao;
        }
        public static DataRow Get(string loginname, string md5pass)
        {
            return _impDao.Get(loginname, md5pass);
        }
		public static DataRow Get(int id){
			return _impDao.Get (id);
		}
    }
}
